package com.cy.oa.service;

import java.util.List;

import com.cy.oa.entity.LeaveBean;

public interface LeaveService {

	public boolean applyLeave(LeaveBean leaveBean,String outcome);
	
	public boolean completeLeave(String taskId,String outcome,String commentMsg,String leaveId);
	
	public LeaveBean queryLeaveByInstanceId(String instanceId);
	
	public List<LeaveBean> queryAllLeave();
	
	public int updateLeaveBeanById(LeaveBean leaveBean);
	
}
